package com.example.java2e.Dao;

import com.example.java2e.Entity.Record;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface RecordDao {
    void add_record(String date, String driver, String id_driver, long id_route, String id_vehicle, int direction);
    void delete_record(long id_route, String date, int direction);
    List<Record>check_record();
    List<Record>check_record_detail(long id_route, String date, int direction);
    List<Record>check_record_start(long id_route);
    List<Record>check_record_end(long id_route);
}
